package asteroids.model.programs.statement;

import java.util.Map;

import asteroids.model.programs.type.*;

public class DisableThruster extends Action {

	public DisableThruster(int line, int column) {
		super(line, column);
	}
	
	public void execute(T type){
		if(type instanceof ShipType)
			(((ShipType) type).getValue()).setThruster(false);
		setExecuted(true);
	}
	
	public String typecheck(Map<String, T> globals){
		return "";
	}

}
